<template>
	<el-breadcrumb separator="/">
		<el-breadcrumb-item v-for="(item, index) in breadcrumbList" :key="index">{{item}}</el-breadcrumb-item>
		<!-- <el-breadcrumb-item>通讯录管理</el-breadcrumb-item>
		<el-breadcrumb-item>成员管理</el-breadcrumb-item> -->
	</el-breadcrumb>
</template>

<script>
	export default{
		data(){
			return{
				breadcrumbList: ''
			}
		},
		mounted() {
			this.getBreadcrumb()
		},
		methods:{
			getBreadcrumb(){
				let data = this.$store.state.navState.breadcrumb
				this.breadcrumbList = data.split(',')
			}
		}
	}
</script>

<style>
</style>
